package com.cimr.comm.enums;

/**
 * Created by liqi on 2017/12/13.
 * liqiwork@qq.com
 * http状态码
 */
public enum HttpStatus {
    SUCCESS("SUCCESS", "成功"),
    FAIL("FAIL", "失败");

    private String key;
    private String name;
    private HttpStatus(String key, String name) {
        this.key = key;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
